import torch

a = torch.full((2, 3), 1)
print(a)
print(a.shape)